//
//  SEGTabBarViewLayout.m
//  SEGViewModel
//
//  Created by 乔杨 on 2020/6/4.
//

#import "SEGTabBarViewLayout.h"

@implementation SEGTabBarViewLayout

- (instancetype)initWithData:(NSArray<SEGMenuListModel *> *)data type:(SEGEnumTabBarViewType)type {
    if (self == [super init]) {
        _data = data;
        _type = type;
    }
    [self segTabBarViewLayout];
    return self;
}
- (void)segTabBarViewLayout {
    //高度固定
    _totalHeight = kTabBarViewHeight;
    
    //高度不固定
    //_totalHeight = 0;
    
    if (!_data) return;
    
    [self layout];
}
//数据处理
- (void)layout {
}

@end
